package com.qdxwx.data.service.manager;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.manager.Post;

import java.util.List;

/**
 * 岗位信息 服务层
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface PostService {
    List<Post> getList(Post post, PageRequest page);

    int count(Post post);

    Post get(Integer postId);

    int deleteByIds(Integer[] postIds) throws Exception;

    int insert(Post post);

    int update(Post post);

    int updateDisabled(Post post);

    int countUserPostById(Integer postId);

    boolean checkPostName(String postName);

    boolean checkPostCode(String postCode);

}
